<div class="inner">
<!--    <div class="onecolumn">
        <div class="header">
            <span>Sửa tên nhóm Sim</span>
        </div>
        <br class="clear"/>-->
        <div class="content">
            <ul class="error">
                <?php if($error != ''): ?>
                <li><?php echo  $error ?></li>
                <?php endif; ?>
                <?php echo form_error('price_group_new') ?>
                <?php echo form_error('name_group') ?>
                <?php echo form_error('type_group') ?>
            </ul>
            <form name="addCategory" id="addCategory" action="" method="POST" class="has-validation">
                <input type="hidden" name="frmToken" id="frmToken" value="<?php echo $frmToken ?>"/>
                <div class="form-input">
                    <label>Chọn nhóm sim:</label><br/>
                    <select id="name_group" name="name_group" required="required">
                        <option value="">------------------------</option>
                        <?php foreach ($tmp as $t): ?>
                                <option value="<?php echo $t['id'] ?>"><?php echo $t['name'] ?></option>
                        <?php endforeach; ?>
                    </select>
                </div>
                <br/>
                 <div class="form-input">
                    <label>Loại:</label><br/>
                    <select id="type_group" name="type_group" required="required">
                        <option value="">------------------------</option>
                        <option value="1">Tăng giá</option>
                        <option value="2">Giảm giá</option>
                    </select>
                </div>
                <br/>
                <p>
                    <label>Nhập giá:</label><br/>
                    <input type="text" id="price_group_new" required="required" price="wrap" name="price_group_new" style="width:154px" value=""/>
                    <select required="required" name="type_price_new" id="type_price_new">
                        <option value="1">đ</option>
                        <option value="2">%</option>
                    </select>
                </p>
                <br/>
                <p>
                    <input type="submit" name="submit" value="Đồng ý"/>
                    <input type="reset" name="reset" value="Xóa hết"/>
                </p>
            </form>
            
            <a href="<?php echo site_url('admin/group/index/') ?>" style="float:right">Quay lại</a>
        </div>
    </div>
    <!-- End one column tab content window -->
<script type="text/javascript">
    $(document).ready(function() {
       $('#price_group_new').setMask({
            mask: '999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999.99',
            type: 'reverse',
            defaultValue: ''
        });
    });
</script>